package com.shuzixiangcun.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 评论表(Reviews)实体类
 *
 * @author makejava
 * @since 2024-06-24 08:26:18
 */
public class Reviews implements Serializable {
    private static final long serialVersionUID = -43480462955237572L;
    /**
     * 评论ID
     */
    private Integer reviewId;
    /**
     * 用户ID
     */
    private Integer userId;
    /**
     * 产品ID
     */
    private Integer productId;
    /**
     * 评分
     */
    private Integer rating;
    /**
     * 评论内容
     */
    private String comment;
    /**
     * 创建时间
     */
    private Date createTime;


    public Integer getReviewId() {
        return reviewId;
    }

    public void setReviewId(Integer reviewId) {
        this.reviewId = reviewId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getRating() {
        return rating;
    }

    public void setRating(Integer rating) {
        this.rating = rating;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}

